<template>
  <div>御剑乘风来,除魔天地间!======cc
    <com3></com3>======
    <c4 @c4tocc="fromC4" :cc="ccMsg"></c4>

    <hr>
    <h1>===={{formMsg}}=====</h1>
  </div>
</template>
           
<script>
import c4 from "@/components/views/c4.vue";
export default {
  data() {
    return {
      ccMsg: "我是组件cc中的数据",
      formMsg:''
    };
  },
  components: {
    c4
  },
  methods: {
    fromC4(message) {
      console.log(message, 2222);
      this.formMsg=message
    }
  }
};
</script>
<style scoped>
</style>